package com.zmm.zebulon.module.bpm.biz.service.message.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * description: BPM 发送流程实例被通过 Request DTO
 *
 * @author zebulon
 * package com.zmm.zebulon.module.bpm.biz.service.message.dto
 * name: BpmMessageSendWhenProcessInstanceApproveReqDTO
 * date 2024/1/10 23:58
 */
@Data
@Accessors(chain = true)
public class BpmMessageSendWhenProcessInstanceApproveReqDTO {

    /**
     * 流程实例的编号
     */
    @NotEmpty(message = "流程实例的编号不能为空")
    private String processInstanceId;
    /**
     * 流程实例的名字
     */
    @NotEmpty(message = "流程实例的名字不能为空")
    private String processInstanceName;
    @NotNull(message = "发起人的用户编号")
    private Long startUserId;

}
